package com.ovstech.samples.axon.file.command;

import lombok.Data;
import org.axonframework.commandhandling.TargetAggregateIdentifier;

@Data
public class UpdateFileNodeCommand {

    @TargetAggregateIdentifier
    private String fileNodeId;

    private String name;

    public UpdateFileNodeCommand(String fileNodeId, String name) {
        this.fileNodeId = fileNodeId;
        this.name = name;
    }
}
